package com.neusoft.databus.policy.applicationEvent;

import org.springframework.context.ApplicationEvent;

import com.neusoft.databus.policy.model.Policy;

import lombok.Getter;
import lombok.Setter;

/**
 * 策略删除事件
 *
 * @author naxiang
 */
@Getter
@Setter
public class PolicyDeleteEvent extends ApplicationEvent {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Policy policy;

    public PolicyDeleteEvent(final Object source, final Policy policy) {
        super(source);
        this.policy = policy;
    }

}
